<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>导出excel</title>
</head>

<body>
    <script src="Blob.js"></script>
    <script src="FileSaver.js"></script>
    <script src="ExportUtil.js"></script>
    <script>
        var temp_name = window.location.search;
        var name = temp_name.split("=")[1];
        var name_decode = decodeURI(name);
        var tempJson = sessionStorage.getItem('excel_')
        var temp_arr = JSON.parse(tempJson);
        ExportUtil.toExcel(temp_arr, name_decode + ".xls");	
    </script>
</body>

</html>